package com.huilink.webmail.service.api;

import java.util.List;

import com.huilink.webmail.dtolayer.AdminMailSetting;


/**
 * 
 * 
 * @author hjiang
 *
 */
public interface WebMailFactory {
	
	

	public AdminMailSetting saveAdminMailSetting(AdminMailSetting adminSetting);

	/**
	 * get the administrator mail setting
	 * 
	 * @param companyId
	 * @return
	 */
	public AdminMailSetting getAdminMailSetting();
	
	/**
	 * @deprecated I don't think we need this
	 * @return
	 */
	public List<AdminMailSetting> getAdminMailSettings();
	
	public MailSender createMailSender();
	
	

	
	
}
